package com.niiwoo.civet.mobile.vo.response.intelligenceInvest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Setter
@Getter
@ApiModel("智能投详情")
public class IntelligenceInvestDetailResponseVO {

    @ApiModelProperty(value = "借款年化利率", required = true)
    private BigDecimal yearInterestRate;

    @ApiModelProperty(value = "借款期限", required = true)
    private Integer deadline;

    @ApiModelProperty(value = "智能投名称", required = true)
    private String title;

    @ApiModelProperty(value = "期数单位(1:月，2:天)", required = true)
    private Byte deadlineUnit;

    @ApiModelProperty(value = "标的总金额", required = true)
    private BigDecimal contractAmount;

    @ApiModelProperty(value = "可投金额", required = true)
    private BigDecimal remainingAmount;

    @ApiModelProperty(value = "还款方式(1到期还本息，2等额本息，3按月还息，到期还本)", required = true)
    private Byte repaymentWay;

    @ApiModelProperty(value = "包ID")
    private Long packageId;

    @ApiModelProperty(value = "标的状态：1可投，2已抢光")
    private Integer projectStatus;

    @ApiModelProperty(value = "投资记录", required = true)
    private Integer investmentRecord;

    @ApiModelProperty(value = "是否追加投资(0:否 1：是)", required = true)
    private Byte additionalInvestment;

    @ApiModelProperty(value = "是否借款人(0:否 1：是)", required = true)
    private Byte theBorrower;

    @ApiModelProperty(value = "活动加息费率，10%返回0.1")
    private BigDecimal activityAddInerest;

    @ApiModelProperty(value = "活动信息")
    private String activityTitle;

    @ApiModelProperty(value = "逾期垫付天数(逾期多少天后开始垫付)")
    private Integer advanceOverdueDays;

    @ApiModelProperty(value = "剩余时间", required = true)
    private long remainingTime;

    @ApiModelProperty(value = "包类型(1：普通智能投，2：新手智能投)")
    private Byte packageType;

    @ApiModelProperty(value = "新手智能投提示文案")
    private String noviceHint;

    @ApiModelProperty(value = "新手剩余可投金额(剩余XXX元)(若=0 则提示 已达新手标限额，剩余0元可投)")
    private BigDecimal noviceSurplusInvestMoney;

    @ApiModelProperty(value = "新手注册天数期限(注册Y天)(后台配置值(5.5.0新增))")
    private Integer roleDefinitionDays;

    @ApiModelProperty(value = "新手剩余天数(若=0 则提示  条件不符，仅限注册Y天内新手可投)")
    private Integer noviceSurplusDays;

    @ApiModelProperty(value = "起投金额")
    private BigDecimal minInvestAmount;

    @ApiModelProperty(value = "递增金额")
    private BigDecimal investIncrementAmount;

    @ApiModelProperty(value = "担保方式H5页面地址", required = true)
    private String guaranteeModelH5Url;

    @ApiModelProperty(value = "风险提示url", required = true)
    private String riskWarning;

    @ApiModelProperty(value = "常见问题url", required = true)
    private String commonProblem;

    @ApiModelProperty(value = "智能投服务协议")
    private String intelligenceInvest;

    @ApiModelProperty(value = "居间借款合同")
    private String loanContractInfo;

    @ApiModelProperty(value = "获取可使用红包列表时使用")
    private Integer userPrizeSuitProjectType;


    @ApiModelProperty(value = "//可使用加息券(0：否，1：是)")
    private Byte beUsableRaiseInterestPrize;


    @ApiModelProperty(value = "//可使用投资返现红包(0：否，1：是)")
    private Byte beUsableCashbackPrize;

    @ApiModelProperty(value = "组成标的数量")
    private Integer projectNum;


}
